/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * MenuMemoriaIntermedia.java
 *
 * Created on 01/06/2012, 08:49:55 PM
 */
package tarea.MemoriaIntermedia;

import java.util.Queue;
import java.util.LinkedList;
import javax.swing.*; 
/**
 *
 * @author Miguel
 */
public class MenuMemoriaIntermedia extends javax.swing.JFrame {

    //static final Logger logger = Logger.getLogger("Gestion de Buffer");
    /* Represenat a los bloques de la memoria intermedia*/
    private Pagina[] buffer;
    // Numero de paginas en total en el buffer
    private int numeroPaginas;
    // Posicion en el buffer de la ultima pagina colocada
    private int posicionUltimaPagina = -1;
    // Cola para el control de sustitucion basada en LRU
    private Queue colaLRU;
    
    private Pagina PaginaI;
    boolean EstaGestor;
    
    GestorMemoriaIntermedia gestorBuffer;
    Pagina[] paginasDisco;
    /** Creates new form MenuMemoriaIntermedia */
    public MenuMemoriaIntermedia() {
        initComponents();
        PaginaI = new Pagina(-1,"-1");
        
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        LblMenuGMI = new javax.swing.JLabel();
        BtnCrearG = new javax.swing.JButton();
        LblNroPagB = new javax.swing.JLabel();
        TxtNroPagGestor = new javax.swing.JTextField();
        BtnCrearDisco = new javax.swing.JButton();
        TxtNroPagDisco = new javax.swing.JTextField();
        LblNroPagDisco = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        TADisco = new javax.swing.JTextArea();
        jScrollPane2 = new javax.swing.JScrollPane();
        TABuffer = new javax.swing.JTextArea();
        jScrollPane3 = new javax.swing.JScrollPane();
        TACola = new javax.swing.JTextArea();
        LblBuffer = new javax.swing.JLabel();
        LblDisco = new javax.swing.JLabel();
        LblCola = new javax.swing.JLabel();
        BtnPonerPaginasBuffer = new javax.swing.JButton();
        LblNroPag = new javax.swing.JLabel();
        TxtNroPag = new javax.swing.JTextField();
        BtnPonerPag = new javax.swing.JButton();
        BtnRecuperarPag = new javax.swing.JButton();
        LblDato = new javax.swing.JLabel();
        TxtDato = new javax.swing.JTextField();
        BtnBloqueClavado = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        LblMenuGMI.setText("MENÚ GESTIÓN DE MEMORIA INTERMEDIA");

        BtnCrearG.setText("1) Crear Gestor");
        BtnCrearG.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtnCrearGActionPerformed(evt);
            }
        });

        LblNroPagB.setText("Nro de Paginas en el Buffer :");

        BtnCrearDisco.setText("2) Crear Disco");
        BtnCrearDisco.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtnCrearDiscoActionPerformed(evt);
            }
        });

        LblNroPagDisco.setText("Nro de Paginas en el Disco :");

        TADisco.setColumns(20);
        TADisco.setRows(5);
        jScrollPane1.setViewportView(TADisco);

        TABuffer.setColumns(20);
        TABuffer.setRows(5);
        jScrollPane2.setViewportView(TABuffer);

        TACola.setColumns(20);
        TACola.setRows(5);
        jScrollPane3.setViewportView(TACola);

        LblBuffer.setText("BUFFER");

        LblDisco.setText("DISCO");

        LblCola.setText("COLA");

        BtnPonerPaginasBuffer.setText("3) Poner Paginas  en Buffer");
        BtnPonerPaginasBuffer.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtnPonerPaginasBufferActionPerformed(evt);
            }
        });

        LblNroPag.setText("Nro. de Pagina :");

        BtnPonerPag.setText("5) Poner Pagina");
        BtnPonerPag.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtnPonerPagActionPerformed(evt);
            }
        });

        BtnRecuperarPag.setText("4) Recuperar Pagina");
        BtnRecuperarPag.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtnRecuperarPagActionPerformed(evt);
            }
        });

        LblDato.setText("Dato :");

        BtnBloqueClavado.setText("6) Hacerlo Bloque Clavado");
        BtnBloqueClavado.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtnBloqueClavadoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(36, 36, 36)
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 285, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 285, javax.swing.GroupLayout.PREFERRED_SIZE))
            .addGroup(layout.createSequentialGroup()
                .addGap(202, 202, 202)
                .addComponent(LblCola)
                .addGap(18, 18, 18)
                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 206, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(355, Short.MAX_VALUE))
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(LblNroPagB)
                    .addComponent(LblNroPagDisco))
                .addGap(6, 6, 6)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(12, 12, 12)
                        .addComponent(TxtNroPagGestor, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(7, 7, 7)
                        .addComponent(TxtNroPagDisco, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(33, 33, 33)
                        .addComponent(LblBuffer)))
                .addGap(35, 35, 35)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(BtnCrearDisco)
                    .addComponent(BtnCrearG)
                    .addComponent(BtnPonerPaginasBuffer, javax.swing.GroupLayout.PREFERRED_SIZE, 191, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(57, 57, 57)
                        .addComponent(LblDisco)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 16, Short.MAX_VALUE)
                        .addComponent(BtnBloqueClavado))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(5, 5, 5)
                        .addComponent(LblNroPag)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(TxtNroPag, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(LblDato)
                        .addGap(18, 18, 18)
                        .addComponent(TxtDato, javax.swing.GroupLayout.DEFAULT_SIZE, 62, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 1, Short.MAX_VALUE)
                        .addComponent(BtnPonerPag)
                        .addGap(18, 18, 18)
                        .addComponent(BtnRecuperarPag)))
                .addGap(66, 66, 66))
            .addGroup(layout.createSequentialGroup()
                .addGap(277, 277, 277)
                .addComponent(LblMenuGMI)
                .addContainerGap(324, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addComponent(LblMenuGMI)
                .addGap(30, 30, 30)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(LblNroPagB)
                            .addComponent(TxtNroPagGestor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(BtnCrearG))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(LblNroPagDisco)
                            .addComponent(TxtNroPagDisco, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(BtnCrearDisco))
                        .addGap(17, 17, 17)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(LblBuffer)
                            .addComponent(BtnPonerPaginasBuffer)))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(LblNroPag)
                            .addComponent(TxtNroPag, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(LblDato)
                            .addComponent(TxtDato, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(BtnPonerPag)
                            .addComponent(BtnRecuperarPag))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 20, Short.MAX_VALUE)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(LblDisco)
                            .addComponent(BtnBloqueClavado))))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 209, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 209, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(41, 41, 41)
                        .addComponent(LblCola))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(33, 33, 33)
                        .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(57, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

private void BtnCrearGActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnCrearGActionPerformed
// TODO add your handling code here:
    String NroPagGestor = TxtNroPagGestor.getText();
    if (!NroPagGestor.isEmpty()) {
        //JOptionPane.showMessageDialog (null, "Digitar primero numero de paginas del Gestor2");
        int NroP = Integer.parseInt(NroPagGestor);
    // Crear un gestor de memoria
    gestorBuffer = new GestorMemoriaIntermedia(NroP); 
        
    TABuffer.setText(gestorBuffer.MostrarBuffer());    
    
    TACola.setText(gestorBuffer.MostrarCola());
    }
    else {
        JOptionPane.showMessageDialog (null, "Digitar primero numero de paginas del Gestor");
    }
    TxtNroPagGestor.setText(null);
    //PaginaI.datos = "-1";
}//GEN-LAST:event_BtnCrearGActionPerformed

private void BtnCrearDiscoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnCrearDiscoActionPerformed
// TODO add your handling code here:
    TADisco.setText(null);
    String NroPagDisco = TxtNroPagDisco.getText();    
    if(!NroPagDisco.isEmpty()) {
        int NroP = Integer.parseInt(NroPagDisco);
        paginasDisco = new Pagina[NroP];
        for (int i = 0; i < paginasDisco.length; i++) {
            Pagina pagina = new Pagina(i, "p" + i);
            paginasDisco[i] = pagina;    
            //String PagMostrar = String.valueOf(pagina.datos);
            TADisco.append(pagina.toString());
        }
    }
    else{
        JOptionPane.showMessageDialog (null, "Digitar primero numero de paginas del Disco");   
    }          
    TxtNroPagDisco.setText(null);
    
}//GEN-LAST:event_BtnCrearDiscoActionPerformed

private void ImprimirDisco(){
    TADisco.setText(null);
    for (int i = 0; i < paginasDisco.length; i++) {
            //Pagina pagina = new Pagina(i, "p" + i);              
            //String PagMostrar = String.valueOf(pagina.datos);
            TADisco.append(paginasDisco[i].toString());
        }
}
        

private void BtnPonerPaginasBufferActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnPonerPaginasBufferActionPerformed
// TODO add your handling code here:
    
        for (int i = 0; i < paginasDisco.length; i++) {
            gestorBuffer.ponerPaginaEnBuffer(paginasDisco[i]);
        }
    
        TABuffer.setText(gestorBuffer.MostrarBuffer());    

        TACola.setText(gestorBuffer.MostrarCola());
    
        //JOptionPane.showMessageDialog (null, "No hay datos en el disco Disco");   

}//GEN-LAST:event_BtnPonerPaginasBufferActionPerformed

private void BtnPonerPagActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnPonerPagActionPerformed
// TODO add your handling code here:
    if (!TxtNroPag.getText().isEmpty())
    {
        int NroPagina = Integer.parseInt(TxtNroPag.getText());
        String Informacion = TxtDato.getText();
        //validar que la pagina este en el disco
        if (!PaginaEnDisco(NroPagina) || NroPagina ==-1){
            JOptionPane.showMessageDialog (null, "La pagina no esta en el disco");
        }
        else{
            if (!(Informacion.equals(PaginaI.datos)) && EstaGestor)
            {
                //TAREA 1:
                JOptionPane.showMessageDialog (null, "¡Se modifico la pagina!");
                //Actualizar buffer
                Pagina paginaN = new Pagina(NroPagina,Informacion);
                gestorBuffer.ponerPaginaEnBufferInfo(paginaN, NroPagina , Informacion);
                //Actualizar buffer y cola
                TABuffer.setText(gestorBuffer.MostrarBuffer());
                TACola.setText(gestorBuffer.MostrarCola());  
                //Actualizar Disco
                Pagina PagTemporal = paginasDisco[NroPagina];
                PagTemporal.datos = Informacion;
                paginasDisco[NroPagina] = PagTemporal;
                ImprimirDisco();
            }    
            else{
                if (TxtNroPag.getText() != null) {

                Pagina paginaN = new Pagina(NroPagina,Informacion);
                gestorBuffer.ponerPaginaEnBuffer(paginaN);

                TABuffer.setText(gestorBuffer.MostrarBuffer());    

                TACola.setText(gestorBuffer.MostrarCola());    
                //Actualizar y mostrar disco
                Pagina PagTemporal = paginasDisco[NroPagina];
                PagTemporal.datos = Informacion;
                paginasDisco[NroPagina] = PagTemporal;
                ImprimirDisco();
                }
            }            
        }    
          
   }
    else
        JOptionPane.showMessageDialog (null, "Digitar primero numero de pagina y un dato");      
   //limpiar
   TxtNroPag.setText(null);
   TxtDato.setText(null);    
}//GEN-LAST:event_BtnPonerPagActionPerformed

private boolean PaginaEnDisco(int NroPag){
    Pagina PaginaTemp;
    boolean Resp = false;
    for (int i = 0; i < paginasDisco.length; i++) {
            PaginaTemp = paginasDisco[i];
            if(NroPag == PaginaTemp.getNumeroPagina()){
                Resp = true;
            }                 
        }
    return Resp;
}

private void BtnRecuperarPagActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnRecuperarPagActionPerformed
// TODO add your handling code here:
    if (!TxtNroPag.getText().isEmpty()){
        int NroPagina = Integer.parseInt(TxtNroPag.getText());
    
        Pagina paginaRecuperada = gestorBuffer.recuperarPaginaDelBuffer(NroPagina);
        //Guardar la pagina
        PaginaI = paginaRecuperada; 
        if (paginaRecuperada != null){
            String PagR = String.valueOf(paginaRecuperada.datos);
        TxtDato.setText(PagR);
        EstaGestor = true; 
        }
        else{
            TxtDato.setText("null");
        }        
        //actualizar cola
        TACola.setText(gestorBuffer.MostrarCola());
    }
    else {
        JOptionPane.showMessageDialog (null, "Digitar primero numero de pagina"); 
    }   
}//GEN-LAST:event_BtnRecuperarPagActionPerformed

//TAREA 2:
private void BtnBloqueClavadoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnBloqueClavadoActionPerformed
// TODO add your handling code here:
    int NroPagina = Integer.parseInt(TxtNroPag.getText());
    //String Informacion = TxtDato.getText();
    Pagina PTemporal = paginasDisco[NroPagina];
    PTemporal.setClavado(true);    
    JOptionPane.showMessageDialog (null, "La pagina " + NroPagina + " ahora es clavada"); 
        
    String Informacion = TxtDato.getText();
    //validar que la pagina este en el disco
    if (!PaginaEnDisco(NroPagina)){
        JOptionPane.showMessageDialog (null, "La pagina no esta en el disco");
    }
    else{
        if (!(Informacion.equals(PaginaI.datos)) && EstaGestor)
        {
            JOptionPane.showMessageDialog (null, "¡Se modifico la pagina!");
            //Actualizar buffer
            Pagina paginaN = new Pagina(NroPagina,Informacion);
            gestorBuffer.ponerPaginaEnBufferInfo(paginaN, NroPagina , Informacion);
            //Actualizar buffer y cola
            TABuffer.setText(gestorBuffer.MostrarBuffer());
            TACola.setText(gestorBuffer.MostrarCola());  
            //Actualizar Disco
            Pagina PagTemporal = paginasDisco[NroPagina];
            PagTemporal.datos = Informacion;
            paginasDisco[NroPagina] = PagTemporal;
            ImprimirDisco();
        }    
        else{
            if (TxtNroPag.getText() != null) {

            Pagina paginaN = new Pagina(NroPagina,Informacion);
            gestorBuffer.ponerPaginaEnBuffer(paginaN);

            TABuffer.setText(gestorBuffer.MostrarBuffer());    

            TACola.setText(gestorBuffer.MostrarCola());    
            //Actualizar y mostrar disco
            Pagina PagTemporal = paginasDisco[NroPagina];
            PagTemporal.datos = Informacion;
            paginasDisco[NroPagina] = PagTemporal;
            ImprimirDisco();
            }
            else
                JOptionPane.showMessageDialog (null, "Digitar primero numero de pagina y un dato");      
        }          
    }
    //limpiar
    TxtNroPag.setText(null);
    TxtDato.setText(null);  
}//GEN-LAST:event_BtnBloqueClavadoActionPerformed

/*public void GestorMemoriaIntermedia(int numeroPaginas){
        this.numeroPaginas = numeroPaginas;
        // Crea el buffer con paginas vacias
        buffer = new Pagina[numeroPaginas];
        // Crea una cola FIFO
        colaLRU = new LinkedList<Integer>();
    }*/

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(MenuMemoriaIntermedia.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(MenuMemoriaIntermedia.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(MenuMemoriaIntermedia.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(MenuMemoriaIntermedia.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new MenuMemoriaIntermedia().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton BtnBloqueClavado;
    private javax.swing.JButton BtnCrearDisco;
    private javax.swing.JButton BtnCrearG;
    private javax.swing.JButton BtnPonerPag;
    private javax.swing.JButton BtnPonerPaginasBuffer;
    private javax.swing.JButton BtnRecuperarPag;
    private javax.swing.JLabel LblBuffer;
    private javax.swing.JLabel LblCola;
    private javax.swing.JLabel LblDato;
    private javax.swing.JLabel LblDisco;
    private javax.swing.JLabel LblMenuGMI;
    private javax.swing.JLabel LblNroPag;
    private javax.swing.JLabel LblNroPagB;
    private javax.swing.JLabel LblNroPagDisco;
    private javax.swing.JTextArea TABuffer;
    private javax.swing.JTextArea TACola;
    private javax.swing.JTextArea TADisco;
    private javax.swing.JTextField TxtDato;
    private javax.swing.JTextField TxtNroPag;
    private javax.swing.JTextField TxtNroPagDisco;
    private javax.swing.JTextField TxtNroPagGestor;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    // End of variables declaration//GEN-END:variables
}
